#ifndef __SOCKET__
#define __SOCKET__
#include"NonCopyable.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>
#include <unistd.h>
class Socket
:public NonCopyable{
public:
    Socket();
    ~Socket();
    explicit Socket(int fd);
    int fd();
private:
    int _fd;
};
#endif